package com.etime.perfectschool.service;

import com.etime.perfectschool.pojo.ActivitiesPhoto;

import java.util.List;

public interface ActivitiesPhotoService {
    //添加某条新闻的图片
    int insertActivitiesPhoto(ActivitiesPhoto activitiesPhoto);

    //查询某条活动的全部照片
    List<ActivitiesPhoto> getAllActivitiesPhotoByactivityId(int activityId);

    //删除活动所有图片
    boolean deleteActivitiesPhotoById(int activityId);

    //修改活动图片
    boolean updateActivitiesPhoto(ActivitiesPhoto activitiesPhoto);
}
